var mynews = new Vue({
  	el: '#weekorder',
  	data: {
  		stuweek: [],
		name1:""

  	},
  	mounted: function() {
  		var _this = this;
  		$.ajax({
  			url: '../data/weekorder.json',
  			/*相对页面的请求路径*/
  			type: 'get',
  			data: {},
  			dataType: 'json',
  			success: function(data) {
  				/*当我们做一次请求的时候需要记录*/
  				var ss = data;
  				_this.stuweek = data.stuweek;
				 
  			}
  		});
  	}
  });
  
  
  var mynews = new Vue({
    	el: '#monthorder',
    	data: {
    		monthorder: [],
  		name1:""
  
    	},
    	mounted: function() {
    		var _this = this;
    		$.ajax({
    			url: '../data/monthorder.json',
    			/*相对页面的请求路径*/
    			type: 'get',
    			data: {},
    			dataType: 'json',
    			success: function(data) {
    				/*当我们做一次请求的时候需要记录*/
    				var ss = data;
    				_this.monthorder = data.monthorder;
  			 
  
    			}
    		});
    	}
    });
	
	var mynews = new Vue({
	  	el: '#askinfo',
	  	data: {
	  		askinfos: [],
			datetime:""
	
	  	},
	  	mounted: function() {
	  		var _this = this;
	  		$.ajax({
	  			url: '../data/ask.json',
	  			/*相对页面的请求路径*/
	  			type: 'get',
	  			data: {},
	  			dataType: 'json',
	  			success: function(data) {
	  				/*当我们做一次请求的时候需要记录*/
	  				var ss = data;
	  				_this.askinfos = data.askinfos;
					var date=new Date();
				  _this.datetime=date.toUTCString() ;
	
	  			}
	  		});
	  	}
	  });
	  
	  var mynews = new Vue({
	    	el: '#usersasks',
	    	data: {
	    		userasks: [],
	  		datetime:""
	  
	    	},
	    	mounted: function() {
	    		var _this = this;
	    		$.ajax({
	    			url: '../data/userask.json',
	    			/*相对页面的请求路径*/
	    			type: 'get',
	    			data: {},
	    			dataType: 'json',
	    			success: function(data) {
	    				/*当我们做一次请求的时候需要记录*/
	    				var ss = data;
	    				_this.userasks = data.userasks;
	  				var date=new Date();
	  			  _this.datetime=date.toUTCString() ;
	  
	    			}
	    		});
	    	}
	    });
  
